package gui.client.panels;

import java.awt.GridBagLayout;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
import java.awt.Dimension;
import javax.swing.JLabel;
import java.awt.Rectangle;
import java.awt.Font;
import java.awt.Color;

public class JCompanyLogoPanel extends JPanel {

	private static final long serialVersionUID = 1L;
	private JLabel companyNameLabel = null;
	private JLabel companyLogoLabel = null;

	/**
	 * This is the default constructor
	 */
	public JCompanyLogoPanel() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		Icon companyLogo = new ImageIcon(getClass().getResource("companyLogoTiny.png"));
		companyLogoLabel = new JLabel();
		companyLogoLabel.setBounds(new Rectangle(40, 28, 80, 84));
		companyLogoLabel.setText("");
		companyLogoLabel.setIcon(companyLogo);
		companyNameLabel = new JLabel();
		companyNameLabel.setBounds(new Rectangle(119, 45, 178, 46));
		companyNameLabel.setFont(new Font("Script MT Bold", Font.ITALIC, 24));
		companyNameLabel.setForeground(new Color(255, 51, 51));
		companyNameLabel.setBackground(Color.white);
		companyNameLabel.setText("a flower for you");
		this.setSize(306, 133);
		this.setLayout(null);
		this.setBackground(new Color(102, 102, 255));
		this.add(companyNameLabel, null);
		this.add(companyLogoLabel, null);
	}

}  //  @jve:decl-index=0:visual-constraint="10,10"
